package com.lanyun.aicorrectassistant.convert;

import com.lanyun.aicorrectassistant.basic.entity.StudentAssignments;
import com.lanyun.aicorrectassistant.controller.admin.studentAssignments.vo.StudentAssignmentsRequestPageVO;
import com.lanyun.aicorrectassistant.controller.admin.studentAssignments.vo.StudentAssignmentsRequestVO;
import com.lanyun.aicorrectassistant.controller.admin.studentAssignments.vo.StudentAssignmentsResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 学生作业表转换器
 * @author makejava
 * @version 1.0
 * @date 2025-05-12 01:54:24
 */
@Mapper
public interface StudentAssignmentsConvert {

    StudentAssignmentsConvert INSTANCE = Mappers.getMapper(StudentAssignmentsConvert.class);

    StudentAssignments convert(StudentAssignmentsResponseVO responseVO);

    StudentAssignments convert(StudentAssignmentsRequestVO requestVO);

    StudentAssignments convert(StudentAssignmentsRequestPageVO requestPageVO);

    StudentAssignmentsResponseVO convert(StudentAssignments entity);

    List<StudentAssignmentsResponseVO> convertEntityToRespList(List<StudentAssignments> entities);
}
